package com.maccman.aireo.control
{
	import mx.utils.ObjectUtil;
	import com.adobe.cairngorm.control.FrontController;
	import com.maccman.aireo.control.*;
	import com.maccman.aireo.command.*;
	
	public class AireoController extends FrontController
	{
		public function AireoController()
		{
			initialiseCommands();
		}
		
		public function initialiseCommands() : void
		{
			addCommand( GetAssetsEvent.EVENT_GET_ASSETS, GetAssetsCommand );
			addCommand( UpdateAssetEvent.EVENT_UPDATE_ASSET, UpdateAssetCommand );
			addCommand( DeleteAssetEvent.EVENT_DELETE_ASSET, DeleteAssetCommand );
		}	
	}
	
}